package io.renren.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.app.entity.ImMomentCommentEntity;
import io.renren.modules.app.entity.ImMomentEntity;
import io.renren.modules.app.entity.UserEntity;

import java.util.Map;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-05-25 08:44:56
 */
public interface ImMomentService extends IService<ImMomentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R create(UserEntity user, ImMomentEntity imMoment);

    R timeline(UserEntity user, ImMomentEntity imMoment);

    R like(UserEntity user, ImMomentEntity imMoment);

    R comment(UserEntity user, ImMomentCommentEntity imMomentComment);
}

